<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                xmlns:shiro="http://shiro.apache.org/tags"
                template="/WEB-INF/layout/template.xhtml">

    <ui:define name="title">Jaws大白鲨项目</ui:define>

    <ui:define name="navigation">
        <p:breadCrumb>
            <p:menuitem value="首页" url="/index.xhtml"/>
            <p:menuitem value="项目" url="#"/>
        </p:breadCrumb>
    </ui:define>

    <ui:define name="content">
        <h1>Jaws大白鲨项目</h1>
        <h2>我，到家了！</h2>
        <p>Hi, <shiro:guest>Guest，你尚未<h:link outcome="/login.xhtml">登录</h:link>！</shiro:guest>
            <shiro:user><shiro:principal/></shiro:user>!
        </p>
    </ui:define>
</ui:composition>
